package me.test.neo4j;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class Neo4j_ResultsActivity extends Activity	{
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		Intent resultIntent = getIntent();
		String results = resultIntent.getStringExtra(Neo4j_TestActivity.RESULT_MESSAGE);
		String time = resultIntent.getStringExtra(Neo4j_TestActivity.RESULT_TIME);
		
		String output = "lookup result: " + results + "\nlookup time: " + time + " ms";
		
		TextView resultsView = new TextView(this);
		resultsView.setText(output);
		
		setContentView(resultsView);

	}

}
